/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package argtrust.belief;
import argtrust.measure.Measure;
/**
 *
 * @author Yuqing Tang
 */
public class IndirectBelief extends Measure {
    Measure mMeasure;
    public IndirectBelief()
    {

    }

//    public static Measure getOpMeasure(Measure measure)
//    {
//        if (measure instanceof IndirectBelief)
//        {
//            return getOpMeasure(((IndirectBelief)measure).getOpMeasure());
//        }
//        else
//        {
//            return measure;
//        }
//    }
    public IndirectBelief(Measure measure)
    {
        mMeasure = measure.getOpMeasure();

    }

   @Override public Measure getOpMeasure() {
        return mMeasure.getOpMeasure();
    }

    public void setMeasure(Measure measure) {
        this.mMeasure = measure;
    }



    @Override public String  toString()
    {
        return mMeasure.toString();
    }

}
